#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
from multiprocessing import Process

lis = []
def foo(i):
    lis.append(i)
    print("This is Process ", i, " and lis is ", lis, " and lis.address is  ", id(lis))


if __name__ == '__main__':
    for i in range(5):
        p = Process(target=foo, args=(i, ))
        p.start()
    print("the end list: {}".format(lis))
